package com.easylinkin.linkappapi.investigation.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.easylinkin.linkappapi.investigation.entity.InvestigationTaskModelContent;

import java.util.List;

/**
 * <p>
 * 排查任务模板内容 服务类
 * </p>
 *
 * @author TongJie
 * @since 2021-04-15
 */
public interface InvestigationTaskModelContentService extends IService<InvestigationTaskModelContent> {
    /**
     * 根据模板ID查询
     * */
    List<InvestigationTaskModelContent> listByInvestigationTaskModelId(Long investigation_task_model_id);

    /**
     * 根据模板类型ID查询是否已有使用
     * */
    Integer countByInvestigationTypeIds(List<Long>  investigation_type_ids);

    /**
     * 根据模板ID删除
     * */
    void deleteByInvestigationTaskModelIds(List<Long>  investigation_task_model_ids);
}
